home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 4081 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.8 KB

  1. Path: fwi.uva.nl!not-for-mail
  2. From: roode@fwi.uva.nl (Erik van Roode)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Virtual memory on an 68000? Is it possible?
  5. Date: 18 Feb 1996 20:16:14 +0100
  6. Organization: FWI, University of Amsterdam
  7. Distribution: world
  8. Message-ID: <4g7ttu$en0@carol.fwi.uva.nl>
  9. References: <4et07r$lj9@wn1.sci.kun.nl> <42116497@phoenix.owl.de> <31222D21.5783@info.unicaen.fr> <4g2e90$267@oak73.doc.ic.ac.uk>
  10. NNTP-Posting-Host: carol.fwi.uva.nl
  11.  
  12. mdf@doc.ic.ac.uk (Martin Frost) writes:
  13.  
  14.  
  15. >Frank Wille wrote:
  16. >> You will need a 68010 at a minimum to support virtual memory. The
  17. >> 68000 doesn't support instruction continuation and the information
  18. >> in the exception stack frame is not sufficient for simulating an
  19. >> access.
  20.  
  21. >It would certainly be possible to build a hardware device to generate an NMI
  22. >when a certain range of addresses was accessed, and then the CPU could turn
  23. >those into disk reads via a subtask. The difficulty would be temporarily
  24. >stopping the task performing the read while you made the disk access. Oh,
  25. >and you still couldn't have more than 16Mb of address space (ie about 12 Mb
  26. >of total RAM, and even that much would be messy)
  27.  
  28. Such a device is called Memory Management Unit. The main problem with an 68000
  29. and virtual memory is the fact that the program counter is increased before
  30. the actual instruction is executed. 68010 and higher versions save an old
  31. copy of the program counter so the faulting instructing can be restarted
  32. after handling the page fault. The lack of this saved program counter in
  33. 68000 makes it simpply impossible to implement hardware supported virtual
  34. memory.
  35.  
  36. Erik
  37.  
  38. -- 
  39.  Erik van Roode                 Q : Did you ever use MSDOS ?
  40.  University of Amsterdam        A : Yes, but I did not inhale !
  41.  Dept. of Computer Science
  42.  Email: roode@fwi.uva.nl
  43.